<%-- 
    Document   : index
    Created on : 11-jun-2008, 13:07:51
    Author     : Ramon
--%>
<%@ page language="java" import="java.util.*" %>
<%@ page language="java" import="com.akcess.vo.*" %>
<%@ page language="java" import="java.sql.*" %>
<%@ page language="java" import="manejadores.*" %>        
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
            String path = request.getContextPath();
            String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";

%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html><head>
        <!--  Version: Multiflex-3.12 / Overview                    --><!--  Date:    January 20, 2008                             --><!--  Design:  www.1234.info                                --><!--  License: Fully open source without restrictions.      --><!--           Please keep footer credits with the words    --><!--           "Design by 1234.info" Thank you!             -->


        
        <base href="<%=basePath%>">
        <link rel="stylesheet" type="text/css" media="screen,projection,print" href="./css/layout4_setup.css"></link>
        <link rel="stylesheet" type="text/css" media="screen,projection,print" href="./css/layout4_text.css"></link>
    <link rel="icon" type="image/x-icon" href="./img/favicon.ico"></link>
        <title>SRR - Sistema de Reserva de Recursos</title>
        <!-- Global IE fix to avoid layout crash when single word size wider than column width --
        ><!--[if IE]><style type="text/css"> body {word-wrap: break-word;}</style><![endif]-->
        <link href="./css/highlighter.css" type="text/css" rel="stylesheet"></link>
        <link href="./css/highlighter_002.css" type="text/css" rel="stylesheet"></link></head><body>
        <!-- Main Page Container -->
        <div class="page-container">
            
            <!-- For alternative headers START PASTE here -->

<!-- A. HEADER -->      
    <jsp:include page="Header.jsp"/>
<!-- For alternative headers END PASTE here -->

            <!-- B. MAIN -->
            <div class="main">
                
                <!-- B.1 MAIN NAVIGATION -->
<div class="main-navigation">


                <dl class="nav3-grid">
                    
                    <dt>
                        
                    </dt>
                </dl>
          
          </div>
                <!-- B.2 MAIN CONTENT -->
                <div class="main-content">
                    
                    <!-- Pagetitle -->
                    
                    <%
                       String loggedIn = (String) session.getAttribute("estaDentro");   
                     if (loggedIn==null)
                          {
                     %>           
                            <jsp:forward page="login.jsp" />
                     <%} else {
                                
                                if (!loggedIn.equals("true"))
                                {
                     %>           
                                    <jsp:forward page="login.jsp" />
                     <%         }
                                else{
                                    Usuarios user1= (Usuarios) session.getAttribute("datosUser");
                                    out.println("<h1 class=\"pagetitle\">Bienvenido... "+ user1.getNombre()+"</h1>");
                                    
                                    
                                                          
                                }
                       }
                                %>
                        
   
                    
                </div>
                
                <!-- B.3 SUBCONTENT -->
                
            </div>
            
            <%@include file="footer.jsp"%>  
        </div> 
        
    </body>
</html>

        


